package com.flow.asyncflow;

import com.flow.asyncflow.core.utils.beanutils.AsyncFlowBeanUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class AsyncFlowApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(AsyncFlowApplication.class);
        ConfigurableApplicationContext ctx = app.run(args);
        AsyncFlowBeanUtils.setApplicationContext(ctx);
    }

}
